package com.project.slsx.bean;

import java.util.List;

public class PurchaseResultBean extends BaseBean {
    private List<ResultBean> result;

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * title : 南非橙1斤
         * thumb : http://www.sweiquan.cn/attachment/images/2/2018/09/O6DDsuwwx44OUSAoWh14akaXSDsUU4.jpg
         * total : 0.00
         * option_id : 0
         * goods_id : 3430
         * supplier : [{"id":"23","name":"八方食品","price":"2.5"},{"id":"25","name":"盛达酒水","price":"2.8"}]
         * day : 3
         */

        private String title;
        private String thumb;
        private String total;
        private int option_id;
        private String goods_id;
        private int day;
        private List<SupplierBean> supplier;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public int getOption_id() {
            return option_id;
        }

        public void setOption_id(int option_id) {
            this.option_id = option_id;
        }

        public String getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public int getDay() {
            return day;
        }

        public void setDay(int day) {
            this.day = day;
        }

        public List<SupplierBean> getSupplier() {
            return supplier;
        }

        public void setSupplier(List<SupplierBean> supplier) {
            this.supplier = supplier;
        }

        public static class SupplierBean {
            /**
             * id : 23
             * name : 八方食品
             * price : 2.5
             */

            private String id;
            private String name;
            private String price;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }
        }
    }
}
